 {% include file="index.header.tpl.php" %}
 {% include file="index.left.tpl.php" %}		
 <style>
		@media only screen and (max-width: 760px),(min-device-width: 768px) and (max-device-width:1024px)  {
		#mytable, #mytable thead, #mytable tbody, #mytable th, #mytable td, #mytable tr { 
			display: block; 
		}
		#mytable thead tr { 
			position: absolute;
			top: -9999px;
			left: -9999px;
		}
		#mytable td { 
			border: none;
			border-bottom: 1px solid #eee; 
			position: relative;
			padding-left:34% !important; 
			padding-top:10px ;
		}
	    #mytable tr{ margin-bottom:20px;}
		#mytable td:before { 
			position: absolute;
			top:10px;
			left:8px;
			width: 45%; 
			padding-right:10px;
			white-space: nowrap;
		}
		    #mytable td:nth-of-type(1):before { content: "�ܴ�"; }
			#mytable td:nth-of-type(2):before { content: "����"; }
			#mytable td:nth-of-type(3):before { content: "��Ҫ����"; }
			#mytable td:nth-of-type(4):before { content: "������"; }
			#mytable td:nth-of-type(5):before { content: "��ע"; }
			#mytable td:nth-of-type(6):before { content: "����"; }
        }		
	</style>
 <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
             <form action="" method="post">	
                <div class="box-header with-border">
                    <span class="fa fa-table" style="float:left; font-size:18px; padding-top:3px; color:#3c8dbc;" ></span>
                    <p class="box-title">学校日常工作布置</p>
					<a href="index.php?a=arrange.semesterweekadd" class="btn btn-primary btn-sm" style="float:right; color:#fff;">新 增</a>
					<a href="#" class="btn btn-warning btn-sm" style="float:right; color:#fff; margin-right:8px"> 导 出 </a>
                </div>
                <div class="box-body">
				  <h4 class="text-center">学校日常工作布置表</h4>
                     <table class="table table-bordered"  id="mytable">
                               <thead>
                                    <tr>
                                        <td>日期</td>
										<td>主要内容</td>
										<td>负责部门</td>
										<td>备注</td>
										<td>操作</td>										
                                    </tr>	
                                </thead>
                                <tbody>
								{%foreach from=$semesterday_lists key=key item=value%} 
                                    <tr>
                                        <td>1</td>
                                        <td>2012-21-21~2121-21-21</td>
										<td>
										{%$value.arrange_content%}
										</td>
								{%/foreach%} 
										<td>
										{%foreach from=$position_lists key=key item=value%} 
										{%$value.position_name%}										
										{%/foreach%} 
										</td>
										{%foreach from=$semesterday_lists key=key item=value%}
										<td> {%$value.arrange_remark%}<br/>
										   
										 </td>
										 <td>
										      <a href="index.php?a=arrange.semesterweekUpdate&arrange_id={%$value.arrange_id%}" class="btn btn-warning btn-xs">修 改</a>
											  <a href="index.php?a=arrange.semesterweekdel&arrange_id={%$value.arrange_id%}" class="btn btn-danger btn-xs" onclick="if(confirm('警告！确认删除信息?')==false)return false;">删 除</a>
										 </td>
                                    </tr>	
                               {%/foreach%}    
                            </tbody>
                        </table>
				   </div><!--box-body -->
			
               </form>
           </div><!--box box-default box-solid-->
        </section>   
           
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
 {% include file="index.footer.tpl.php" %}